package org.jeecg.modules.monitoring.j_monitoring.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 日常巡检
 * @Author: xiaoyq
 * @Date:   2023-10-10
 * @Version: V1.0
 */
@Data
@TableName("m_daily_inspection")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="日常巡检对象", description="日常巡检")
public class MDailyInspection implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**巡检日期*/
	@Excel(name = "巡检日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "巡检日期")
    private Date inspectionDate;
	/**机房名称*/
	@Excel(name = "机房名称", width = 15)
    @ApiModelProperty(value = "机房名称")
    private String machineRoomName;
	/**机房ID*/
    @ApiModelProperty(value = "机房ID")
    private String machineRoomId;
	/**温度*/
	@Excel(name = "温度", width = 15)
    @ApiModelProperty(value = "温度")
    private String temperature;
    /**温度*/
	@Excel(name = "湿度", width = 15)
    @ApiModelProperty(value = "湿度")
    private String humidity;
	/**电力*/
	@Excel(name = "电力", width = 15)
    @ApiModelProperty(value = "电力")
    private String power;
	/**空调*/
	@Excel(name = "空调", width = 15)
    @ApiModelProperty(value = "空调")
    private String conditioning;
	/**门禁*/
	@Excel(name = "门禁", width = 15)
    @ApiModelProperty(value = "门禁")
    private String accessControl;
	/**卫生环境*/
	@Excel(name = "卫生环境", width = 15)
    @ApiModelProperty(value = "卫生环境")
    private String healthEnvironment;
	/**工作站*/
	@Excel(name = "工作站", width = 15)
    @ApiModelProperty(value = "工作站")
    private String workstation;
	/**绘图仪*/
	@Excel(name = "绘图仪", width = 15)
    @ApiModelProperty(value = "绘图仪")
    private String plotter;
	/**图件*/
	@Excel(name = "图件", width = 15)
    @ApiModelProperty(value = "图件")
    private String map;
	/**巡检人员*/
	@Excel(name = "巡检人员", width = 15)
    @ApiModelProperty(value = "巡检人员")
    private String personnel;
	/**巡检人员id*/
    @ApiModelProperty(value = "巡检人员id")
    private String personnelId;
	/**记录日期*/
	@Excel(name = "记录日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "记录日期")
    private Date recordDate;

    //	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    //    @DateTimeFormat(pattern="yyyy-MM-dd")
	/**记录时间--HH:mm[:ss]*/
	@Excel(name = "记录时间", width = 15)
    @ApiModelProperty(value = "记录时间")
    private String recordTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**是否自动填报*/
	@Excel(name = "是否自动填报", width = 15)
    @ApiModelProperty(value = "是否自动填报")
    private String isAuto;
	/**是否人工填报*/
	@Excel(name = "是否人工填报", width = 15)
    @ApiModelProperty(value = "是否人工填报")
    private String isArtificial;

    @TableField(exist = false)
    private String warningType;

    /**是否人工填报*/
    @Excel(name = "创建人id", width = 15)
    @ApiModelProperty(value = "创建人id")
    private String createUserId;

    /**是否人工填报*/
    @Excel(name = "创建人名称", width = 15)
    @ApiModelProperty(value = "创建人名称")
    private String createUserName;

    /**是否人工填报*/
    @Excel(name = "异常说明", width = 15)
    @ApiModelProperty(value = "异常说明")
    private String abnormalInfo;

    /**是否人工填报*/
    @Excel(name = "完成情况", width = 15)
    @ApiModelProperty(value = "完成情况")
    private String completionStatus;
}

